home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / c / indents.zip / makefile.bcc < prev    next >
Makefile  |  1993-05-30  |  1KB  |  43 lines

  1. # Copyright (c) 1987 Regents of the University of California.
  2. # All rights reserved.
  3. #
  4. # Redistribution and use in source and binary forms are permitted provided
  5. # that the above copyright notice and this paragraph are duplicated in all
  6. # such forms and that any documentation, advertising materials, and other
  7. # materials related to such distribution and use acknowledge that the software
  8. # was developed by the University of California, Berkeley.  The name of the
  9. # University may not be used to endorse or promote products derived from this
  10. # software without specific prior written permission. THIS SOFTWARE IS
  11. # PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
  12. # WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS
  13. # FOR A PARTICULAR PURPOSE.
  14. #
  15. #       @(#)Makefile    5.9 (Berkeley) 88/09/15
  16. #
  17. # Makefile for Torbo C, Borland C++ etc, Peter Hadfield, May 1993.
  18.  
  19. CFLAGS= -O2 -ms -w+ -c -Fc
  20. SRCS=    indent.c io.c lexi.c parse.c comment.c args.c
  21. OBJS=    indent.obj io.obj lexi.obj parse.obj comment.obj args.obj
  22.  
  23. .c.obj:
  24.     $(CC) $(CFLAGS) $*.c
  25.  
  26. all: indent.exe
  27.  
  28. indent.exe: $(OBJS)
  29.         $(CC) $(OBJS)
  30.  
  31. indent.obj:     indent.c   globals.h proto.h codes.h
  32.  
  33. lexi.obj:       lexi.c     globals.h proto.h codes.h
  34.  
  35. parse.obj:      parse.c    globals.h proto.h codes.h
  36.  
  37. io.obj:         io.c       globals.h proto.h
  38.  
  39. comment.obj:    comment.c  globals.h proto.h
  40.  
  41. args.obj:       args.c     globals.h proto.h
  42.  
  43.